home *** CD-ROM | disk | FTP | other *** search
- MPEG Video Software Decoder
- (Version 2.1; Feb 1 1995)
-
- Lawrence A. Rowe, Ketan Patel, Brian Smith, Steve Smoot, and Eugene Hung
- Computer Science Division-EECS, Univ. of Calif. at Berkeley
-
- RISC OS version 1.0 (Apr 13 1995)
-
- Description
- -----------
-
- This is a port of the MPEG Video Software Decoder, as released by the
- University of California at Berkeley. The decoder can be used in two
- ways:
-
- 1. After the !MPEGplay directory has been seen by the filer, double
- clicking on a MPEG file (filetype &BF8, or simply MPEG) will
- start playback.
-
- 2. By means of the !MPEGplay application. After this application has been
- started, all playback is handled through this program. The main task
- of !MPEGplay is to provide a quick way of setting the command line
- options of the decoder. As an extra option, it offers the possibility
- to enter the preferred screenmode for playback. Double clicking on or
- dragging a MPEG file to the iconbar icon, will start playback.
-
- This version is not optimal though:
-
- - Support for RISC OS 3.50 is minimal. It's not possible to enter mode
- strings yet. As I own a 'humble' RISC OS 3.10 machine, I can't test this.
- In the future it will be included, of course.
-
- - I will soon replace the existing DCT routines in the decoder by faster
- (ARM coded) routines.
-
- - Better support for the Computer Concept's ColourCard and the new
- improved video hardware of the Risc PCs. I have seen a version for a
- Risc PC fitted with VRAM, which displayed the MPEG stream by directly
- writing to VRAM. If people like this idea, it can be included.
-
- Note: this port is partly based on the work done by Paul LeBeau. However,
- his port is dated somewhere in 1993, and I decided it was time for a new
- version. This was also caused by the fact, that Berkeley has just released
- the decoder as part of a number of tools:
-
- mpegplay - software-only MPEG-1 video decoder
- mpegencode - software-only MPEG-1 video encoder
- mpegstat - a bitstream analysis tool
- mpegblocks - an interactive tool to examine macroblock coding
- mpegbits - an interactive to examine bit allocation to blocks
-
- I'm planning to port all these programs to the Acorn Archimedes/RiscPC
- platform. I have also the source code of a MPEG sound player. As it's
- difficult to handle playback of these samples in real-time on a RISC OS
- machine, I would like to get in touch with people interesting in making
- this work.
-
- This software is FREEWARE. Permission for non-profit distribution of this
- software is granted, provided it is distributed "as is", without change.
-
- For bugs reports, suggestions or reactions:
-
- Loek Frederiks
- Runmolen 88A
- 1823 GM Alkmaar
- The Netherlands
-
- Phone +31-72-111551 (home)
- +31-8380-81448 (work)
-
- E-mail: loek@xs4all.nl
-
- Usage
- -----
-
- mpegplay [ -nob ] [ -nop ] [ -loop ] [ -start num ] [ -end num ]
- [ -gamma num ] [ -at xpos,ypos ] [ -leave ] [ file_name ]
-
- Options
- -------
-
- -nob
-
- Causes the player to ignore and not display any B frames.
-
- -nop
-
- Causes the player to ignore and not display any P frames.
-
- -loop
-
- Makes the player loop back to the beginning after reaching the end.
-
- -start num
-
- Waits to start display until this frame number (previous frames are parsed).
-
- -end num
-
- Ends display at this frame number (continues parsing, for no good reason).
-
- -gamma num
-
- Gamma correction. Raise the luminance component of each pixel to num.
-
- -at xpos,ypos
-
- Postition the bottom-left corner of the displayed MPEG stream at these
- coordinates (in OS units).
-
- -leave
-
- Leave last frame on screen when movie finishes.
-
- Notes
- -----
-
- The player expects video streams only. It can handle multiplexed MPEG
- streams (video+audio streams) by discarding the audio.
-
- Some streams do not end with the proper sequence end code and will probably
- generate an "Improper sequence end code." error when done playing.
-
- This player can play XING data files. Be aware that XING makes no use of
- temporal redundancy or motion vector information. In other words, they do
- not use any P or B frames in their streams. Instead, XING data is simply a
- sequence of I frames. Since I frames take significantly longer to decode,
- performance of the player using XING data is not representative of the
- player's ability.
-